package com.atom.app.test;

import com.atom.annotation.api.ApiImplContext;
import com.atom.annotation.api.ApiImplProvider;

public class HelloProvider implements ApiImplProvider {

    @Override
    public <T> T create(ApiImplContext apiImplContext, Class<T> clazz) {
        if (clazz.isAssignableFrom(HelloWorld5.class)) {
            return (T) new HelloWorld5() {
            };
        }
        return null;
    }
}
